<?php
namespace Amis\dataviewer;

use Amis\form\FormItem;
use Amis\Basics\AmisBasics;

class CrudFilter extends AmisBasics
{
    public string $title;
    public        $body;

    public function title($title)
    {
        $this->title = $title;
        return $this;
    }

    public function body(FormItem ...$body)
    {
        $this->set(__FUNCTION__,...$body);
        return $this;
    }
}